﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace assignment_manager
{
    class Subject
    {
        #region private members

        private static int count;
        private string title;

        #endregion

        #region class properties

        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        public static int Count
        {
            get { return count; }
            set { count = value; }
        }

        #endregion

        #region class methods

        public Subject()
        {
            Count++;
        }

        public void Save()
        {
            // save it to an xml file
            //System.Xml.XmlDocument xml = new System.Xml.XmlDocument();
            //xml.LoadXml("Subjects.xml");
            // save the data into a list for now
        }

        #endregion
    }
}
